package com.aliang.demospringmvc.controller;


import com.aliang.demospringmvc.annotation.Controller;
import com.aliang.demospringmvc.annotation.Qualifier;
import com.aliang.demospringmvc.annotation.RequestMapping;
import com.aliang.demospringmvc.service.UserService;

@Controller("userController")
@RequestMapping("/user")
public class UserController {

    @Qualifier("userService")
    UserService userService;


    @RequestMapping("/query")
    public void queryUser(){
        userService.queryUser();
    }

}
